package asnv.fgh;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class page1 extends Activity{
	TextView tv;
	 public void onCreate(Bundle savedInstanceState) {
	        super.onCreate(savedInstanceState);
	        //super.onCreate(savedInstanceState);
	        setContentView(R.layout.page1);
	        Bundle b;
	        b = getIntent().getExtras();
	        String s = new String();
	        s = (String)b.getString("name");
	        tv = (TextView)findViewById(R.id.label);
	        System.out.println("Hi name is "+s);
	        s="hii name is "+s;
	        tv.setText(s);
	 }

}
